const express = require( 'express' );

const studentRouter = express.Router();

studentRouter.get( '/login' , (req,resp)=> { resp.send('<h3>学生登录页面</h3>') } );
studentRouter.post( '/login' , (req,resp)=> { resp.send('<h3>学生登录成功</h3>') } );
studentRouter.get( '/regist' , (req,resp)=> { resp.send('<h3>学生注册页面</h3>') });
studentRouter.post( '/regist' , (req,resp)=> { resp.send('<h3>学生注册成功</h3>') } );
studentRouter.get( '/logout' , (req,resp)=> { resp.send('<h3>学生退出登录</h3>') } );

// 导出模块
module.exports = studentRouter ;